package code_test;

import javax.sound.sampled.AudioInputStream;

public class Message {
    private Integer ID;//用户ID
    private Integer Friend_ID;//目标ID
    private Integer Message_ID;//消息ID
    private AudioInputStream audioInputStream;//音频数据

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public Integer getFriend_ID() {
        return Friend_ID;
    }

    public void setFriend_ID(Integer friend_ID) {
        Friend_ID = friend_ID;
    }

    public Integer getMessage_ID() {
        return Message_ID;
    }

    public void setMessage_ID(Integer message_ID) {
        Message_ID = message_ID;
    }

    public AudioInputStream getAudioInputStream() {
        return audioInputStream;
    }

    public void setAudioInputStream(AudioInputStream audioInputStream) {
        this.audioInputStream = audioInputStream;
    }

    @Override
    public String toString() {
        return "Message{" +
                "ID=" + ID +
                ", Friend_ID=" + Friend_ID +
                ", Message_ID=" + Message_ID +
                ", audioInputStream=" + audioInputStream +
                '}';
    }
}
